<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:p="http://java.sun.com/jsf/portlet/components" version="2.0">
	<f:view>
		<p:portletPage>
			<a4j:outputPanel layout="block" styleClass="mediadoresWrapper">
				<a4j:outputPanel layout="block" styleClass="headerWrapper">
					<a4j:outputPanel layout="block" styleClass="accesible clearfix"></a4j:outputPanel>
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="topMenuWrapper">
					<h:form>
						<a4j:outputPanel rendered="#{ApplicationAuthenticatedUser.templatesLinkRendered}">
							<a4j:commandLink action="#{PDFTemplatesManagement.prepareView}" value="Gestión de plantillas" styleClass="topMenuLink" />
						</a4j:outputPanel>
						<a4j:outputPanel rendered="#{ApplicationAuthenticatedUser.insurancePoliciesLinkRendered}">
							<a4j:commandLink action="#{InsurancePoliciesManagement.prepareView}" value="Gestión de pólizas" styleClass="topMenuLink" />
						</a4j:outputPanel>
						<a4j:outputPanel rendered="#{ApplicationAuthenticatedUser.marketingPromotionsLinkRendered}">
							<a4j:commandLink action="#{MarketingPromotionsManagement.prepareView}" value="Gestión de promociones" styleClass="topMenuLink" />
						</a4j:outputPanel>
						<a4j:outputPanel rendered="#{ApplicationAuthenticatedUser.usersLinkRendered}">
							<a4j:commandLink action="users" value="Gestión de usuarios" styleClass="topMenuLink" />
						</a4j:outputPanel>
					</h:form>
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="contentWrapper">
					<a4j:outputPanel layout="block" styleClass="titleWrapper">
						<h:outputText value="Bienvenido a la Aplicación Web de Mediadores" />
					</a4j:outputPanel>
					<rich:spacer height="200" />
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="footerWrapper">
					<a4j:outputPanel layout="block" styleClass="accesible clearfix"></a4j:outputPanel>
				</a4j:outputPanel>
			</a4j:outputPanel>
		</p:portletPage>
	</f:view>
</jsp:root>